<?php

class modalidades extends DAO{
    
    protected function receivingData($post){
        
        extract($post,EXTR_PREFIX_ALL,"ex");
        
        $func = new functions;
        
        $arrayData = array(
                            'nome' => $ex_nome,
                            'turno' => $ex_turno,
                            'qtdeAlunos' => $ex_qtdeAlunos,
                            'responsavel' => $ex_responsavel,
                            'turno' => $ex_turno,
                            'valor' => $func->get_value($ex_valor)->desformat("br")->get()
                           );
        
        return $arrayData;
    }
    
    
}

?>
